home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8818 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  859 b 

  1. Path: 128.158.32.84!not-for-mail
  2. From: Brian.Day@msfc.nasa.gov (Brian Day)
  3. Newsgroups: comp.lang.c
  4. Subject: Standard question - pointer initialization
  5. Date: 6 Mar 1996 15:11:19 GMT
  6. Organization: NTI / MSFC / NASA
  7. Message-ID: <4hk9un$906@hammer.msfc.nasa.gov>
  8. NNTP-Posting-Host: 128.158.32.84
  9. X-Newsreader: News Xpress Version 1.0 Beta #4
  10.  
  11. Hi all,
  12.  
  13. I don't have a copy of the ANSI standard handy, and was wondering
  14. if y'all could answer a question for me.
  15.  
  16. We were recently handed a coding standard which said:
  17.  
  18.     "Always initialize pointers when they are declared" 
  19.  
  20. Doesn't the standard say something about some pointers
  21. being automatically initialized to NULL, or something like that?
  22.  
  23. Is this coding standard wise?
  24.  
  25. Thanks,
  26.  
  27. Brian
  28.  
  29. --
  30. Brian.Day@msfc.nasa.gov     Opinions are my own;
  31. New Technology, Inc.        May be fatal if swallowed.
  32. Huntspatch, AL
  33.